#pragma once

class CMySort
{
	int *m_iData;
	int m_iMax;
public:
	CMySort(int MAX=100) : m_iMax(MAX) { m_iData = new int[MAX];}
	~CMySort(void){}

	void initData(int *Data);
	void printData();
	void selectionSort();
	void shellSort();
	void bubbleSort();

	//merge Sort
	void merge(int f, int m, int l);
	void mergeSort(int f, int l);

	//quick Sort
	int partition(int f, int l);
	void quickSort(int f, int l);
};
